import request from '@/utils/request'

// 员工列表
export const staffList = (params: any = {}) => {
  return request({
    url: '/tob/tianqi/tqStaffList',
    method: 'get',
    params
  })
}

// 关于我们宣传信息
export const aboutInfo = (params: any = {}) => {
  return request({
    url: '/tob/tianqi/about/info',
    method: 'get',
    params
  })
}

// 获取成就列表
export const achievementList = (params: any = {}) => {
  return request({
    url: '/tob/tianqi/achievement/list',
    method: 'get',
    params
  })
}

// 招聘列表
export const joinList = (params: any = {}) => {
  return request({
    url: '/tob/tianqi/join/tree',
    method: 'get',
    params
  })
}

// 新闻类型列表
export const newsTypeList = (params: any = {}) => {
  return request({
    url: '/tob/tianqi/newsType/list',
    method: 'get',
    params
  })
}

// 新闻列表
export const newsList = (params: any = {}) => {
  return request({
    url: '/tob/tianqi/news/list',
    method: 'get',
    params
  })
}

// 新闻详情
export const newsInfo = (id: any = '') => {
  return request({
    url: '/tob/tianqi/news/info/' + id,
    method: 'get',
  })
}